package com.ibeeking.found.org.service.common.constants;

/**
 * @ClassName RedisKeyConstant
 * @Description
 * @Author ibeeking
 * @Date 2020-12-01 19:02
 **/
public class RedisKeyConstant {
    /**
     * 模块
     */
    public static final String EMPLOYEE_PREFIX = "EMPLOYEE:";
    /**
     * 30天
     */
    public static final long MONTH = 10125 << 8L;
    /**
     * 1天
     */
    public static final long DAY = 675 << 7L;
    /**
     * 半天
     */
    public static final long HALF_DAY = 675 << 6L;
    /**
     * 1小时
     */
    public static final long HOUR = 225 << 4L;

    /**
     * 新会员临时缓存
     */
    public static final String org_TEMP = "org_TEMP:";
//
//    /**
//     * redis缓存key 有效列表
//     */
//    public static final String EFFECTIVE_LIST = "EFFECTIVE_LIST";

    public static final String WX_OPEN_CONFIG_KEY = "wx:open:config:";

    public static final String WX_OPEN_AUTH_KEY = "wx:open:auth:";
    /**
     * redis缓存key 单个会员信息
     */
    public static final String org = "org:";

    /**
     * redis缓存key 等级
     */
    public static final String LEVEL = "LEVEL:";

    /**
     * redis缓存key 权益
     */
    public static final String BENEFIT = "BENEFIT:";

    /**
     * redis缓存key 偏好
     */
    public static final String HOBBY = "HOBBY:";

    /**
     * redis缓存key 发票抬头
     */
    public static final String INVOICE_TITLE = "INVOICE_TITLE:";

    /**
     * redis缓存key 权益信息详情
     */
    public static final String BENEFIT_INFO = BENEFIT + "INFO:";
//
//    /**
//     * redis缓存key 有效权益列表
//     */
//    public static final String BENEFIT_EFFECTIVE_LIST = BENEFIT + EFFECTIVE_LIST;

//    /**
//     * redis缓存key 等级有效列表
//     */
//    public static final String LEVEL_EFFECTIVE_LIST = LEVEL + EFFECTIVE_LIST;

    /**
     * redis缓存key 单个会员等级信息
     */
    public static final String LEVEL_org = LEVEL + org;

//    /**
//     * redis缓存key 偏好有效列表
//     */
//    public static final String HOBBY_EFFECTIVE_LIST = HOBBY + E会员码刷寻FFECTIVE_LIST;
    /**
     * redis缓存key 会员偏好
     */
    public static final String HOBBY_org = HOBBY + org;
    /**
     * redis缓存key 发票抬头单个信息
     */
    public static final String INVOICE_TITLE_ONE = INVOICE_TITLE + "ONE:";

    public static final String QR_CODE = org + "QR_CODE:";

    /**
     * 锁积分
     */
    public static final String org_LOCK_POINTS = org + "LOCK_POINTS:";

    public static final String org_ADD_POINTS_COST_SUPPLEMENT = org + "ADD_POINTS_COST_SUPPLEMENT:";

    public static final String org_CHANGE_POINTS = org + "CHANGE_POINTS:";

    public static final String org_HAS_POINTS_OVERVIEW = org + "HAS_POINTS_OVERVIEW:";

    /**
     * 修改会员消费概览
     */
    public static final String org_COST_OVERVIEW_CHANGE = org + "COST_OVERVIEW_CHANGE:";

    /**
     * 修改会员消费概览锁
     */
    public static final String org_LOCK_COST_OVERVIEW_CHANGE = org + "org_LOCK_COST_OVERVIEW_CHANGE:";

    /**
     * 会员完善个人信息权益记录
     */
    public static final String org_BENEFIT_IMPROVE_PERSONAL_INFO = "org_BENEFIT_IMPROVE_PERSONAL_INFO:";

    /**
     * 会员设置
     */
    public static final String org_SETTING = "org_SETTING:";

    /**
     * 会员统计
     */
    public static final String org_SURVEY_B = "org:org_SURVEY_B:";
}
